package cn.xie.ai.rag.knowledge.api.response;

import lombok.Builder;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: xiaoxie
 * create: 2025-06-02 20:43
 * @BelongsProject: ai-rag-knowledge
 * @BelongsPackage: cn.xie.ai.rag.knowledge.api.response
 * description: 统一响应
 */
@Data
@Builder
public class Response<T> implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private String code;

    private String msg;

    private T data;

}
